import 'package:bxultimate/app/pages/package.dart';
import 'package:bxultimate/app/router/router_name.dart';
import 'package:get/get.dart';

List<GetPage> homeRouters = [
  GetPage(
    name: RouterName.homeSearch,
    binding: HomeSearchBinding(),
    page: () => HomeSearchPage(),
  ),

  // 任务列表
  GetPage(
    name: RouterName.taskList,
    binding: TaskListBinding(),
    page: () => TaskListPage(),
  ),
  // 任务详情
  GetPage(
    name: RouterName.taskDetail,
    binding: TaskDetailBinding(),
    page: () => TaskDetailPage(),
  ),
  // 文章列表
  GetPage(
    name: RouterName.articleList,
    binding: ArticleListBinding(),
    page: () => ArticleListPage(),
  ), // 文章列表
  GetPage(
    name: RouterName.articleMoreTabList,
    binding: ArticleMoreTabListBinding(),
    page: () => ArticleMoreTabListPage(),
  ),
  // 文章详情
  GetPage(
    name: RouterName.articleDetail,
    binding: ArticleDetailBinding(),
    page: () => ArticleDetailPage(),
  ),

  // 工作动态
  GetPage(
    name: RouterName.workTrendList,
    binding: WorkTrendListBinding(),
    page: () => WorkTrendListPage(),
  ), // 工作动态详情
  GetPage(
    name: RouterName.workTrendList,
    binding: WorkTrendDetailBinding(),
    page: () => WorkTrendDetailPage(),
  ),
  // 商家活动列表
  GetPage(
    name: RouterName.shopActivityList,
    binding: ShopActivityListBinding(),
    page: () => ShopActivityListPage(),
  ),
  GetPage(
    name: RouterName.shopActivityDetail,
    binding: ShopActivityDetailBinding(),
    page: () => ShopActivityDetailPage(),
  ),

  GetPage(
    name: RouterName.homeSearchResult,
    binding: HomeSearchResultBinding(),
    page: () => HomeSearchResultPage(),
  ),
];
